from src.handler.event import Event
from src.config.events import *
from src.config.events import WORLD_ENTITY_REGISTRY

class EntityRegistryEvent(Event):
    
    def __init__(self):
        self.type = WORLD_ENTITY_REGISTRY
        
class WorldUpdateEvent(Event):
    def __init__(self, world):
        self.type = WORLD_UPDATE
        self.world = world
        
class WorldLoadEvent(Event):
    
    def __init__(self, world):
        self.type = WORLD_LOAD
        self.world = world